﻿function Log({turns}){
    return (
        <div>
            <ol id={"log"}>
                {turns.map((turn)=>(<li key={`${turn.square.row}${turn.square.col}`}>
                    {turn.play} selected {turn.square.row},{turn.square.col}
                </li>
                ))}
            </ol>
        </div>
    );
}

export default Log;